package com.rimi.live.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.jdbc.datasource.DataSourceTransactionManager;

@Configuration
public class MatterConfig {
    public DataSourceTransactionManager dataSourceTransactionManagerBean(){
        DataSourceTransactionManager dataSourceTransactionManager = new DataSourceTransactionManager();
//        dataSourceTransactionManager.setDataSource();  申明数据源
//        aop切入



        return dataSourceTransactionManager;
    }
}
